/* reset------------- */
body,div,h1,h3,ul,li{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul,li{
    list-style: none;
}

/* 整体布局 */
/* header nav content  都在div#app内*/
#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #333;
    width: 100vw;
    height: 100vh;

    display: flex;
    flex-direction: column;
}

/* border: 1px solid tomato; */
header{
    display: flex;
    /*为login 弹出绝对定位做准备*/
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 8%;
    padding: 5px 0;
    box-shadow:
      0px 0px 0.8px rgba(0, 0, 0, 0.12),
      0px 0px 6px rgba(0, 0, 0, 0.23);
    z-index: 999;
    font-size: 1.2rem;
    background-color: #202022;
    color: #CACACA;
}
main{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    width: 100%;
    height: 92%;
}
nav{
    width: 15%;
    height: 100%;
    box-shadow:
        0px 0px 0.8px rgba(0, 0, 0, 0.12),
        0px 0px 6px rgba(0, 0, 0, 0.23);
    background-color:#CACACA;
}
section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    width: 85%;
    height: 100%;
}
div#content{
    width: 100%;
    height: 90%;
}
footer{
    width: 100%;
    height: 10%;
    background-color: #333;
    color: white;
}

